package com.zmwx.subject.domain.convert;

import com.zmwx.subject.domain.entity.SubjectCategoryBO;
import com.zmwx.subject.infra.basic.entity.SubjectCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectCategoryConverter {
    SubjectCategoryConverter INSTANCE = Mappers.getMapper(SubjectCategoryConverter.class);
  // @Mapping(target="serialVersionUID",ignore  = true)
     SubjectCategory convertBoToCategory(SubjectCategoryBO subjectCategoryBo);

    List<SubjectCategoryBO> convertToCategoryBoList(List<SubjectCategory> subjectCategoryList);

}
